package com.bank.rabbitmq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class RabbitDemo {
    public static void main(String[] args) {
        //由于rabbitmq在完成消费反序列化的时候 当前rabbit版本必须添加一个属性 系统变量
        System.setProperty("spring.amqp.deserialization.trust.all","true");
        SpringApplication.run(RabbitDemo.class, args);
    }
}
